import wepy from 'wepy'

export default class extends wepy.mixin {
  onShow () {
    this.cart = this.$parent.globalData.cart
    this.$parent.renderCartBadge()
  }
}
